package com.example.testdemo.scrollDelete;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.testdemo.R;

/**
 * Created by MrYan on 2018/8/24.
 * 适配器
 */

public class DeleteAdapter extends BaseQuickAdapter<String,BaseViewHolder> {
    public DeleteAdapter() {
        super(R.layout.item_scroll_delete);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.deleteContent,item);
        SwipeItemLayout itemLayout = helper.getView(R.id.sil);

    }
}
